package com.ddtech.business.bank.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ddtech.business.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 题库表
 * </p>
 *
 * @author bin_pu
 * @since 2023-02-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("question_bank")
@ApiModel(value="Bank对象", description="题库表")
public class QuestionBank extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "题库名称")
    private String bankName;

    @ApiModelProperty(value = "题库描述")
    private String bankDesc;

    @ApiModelProperty(value = "题库来源")
    private String source;

    @ApiModelProperty(value = "题库封面")
    private String coverImg;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "题库状态，0禁用，1启用")
    private Integer queStatus;

    @ApiModelProperty(value = "专业id")
    private String specialtyId;

    @ApiModelProperty(value = "岗位id")
    private String jobId;

    @ApiModelProperty(value = "1：自定义题库 2：考核题库")
    private Integer type;
}
